<?php
require 'Db.class.php';

$redis = new \Redis();
$res = $redis->connect('127.0.0.1', 6379);
//echo "Server is running: " . $redis->ping();
$redis->set('name','liuzhu11111');
echo $redis->get('name');
//$db = new DB();
//$obj = $db->getObj();
//$sql = 'select * from member';
//$res = $db->getList($sql);
//var_dump($res);